package com.atgugui.eduservice.entity.vo.front;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 封装用户课程分页显示的查询字段VO实体
 * 查询页面中的查询字段：一级分类名称，二级分类名称，价格，最新(对应表中的字段：创建课程的时间)
 * 排序，在课程信息中我们需要提供讲师信息，所以在VO实体中需要将讲师id封装进来
 */
@Data
public class QueryFrontCourseVo {
    @ApiModelProperty(value = "课程名称")
    private String title;

    @ApiModelProperty(value = "讲师id")
    private String teacherId;

    @ApiModelProperty(value = "一级类别id")
    private String subjectParentId;

    @ApiModelProperty(value = "二级类别id")
    private String subjectId;

    /*++++++++++++++++++++++++++++++++++相关排序查询++++++++++++++++++++++++++++++++*/
    @ApiModelProperty(value = "销量排序")
    private String buyCountSort;

    @ApiModelProperty(value = "最新时间排序")
    private String gmtCreateSort;

    @ApiModelProperty(value = "价格排序")
    private String priceSort;
}
